home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir31 / pcmm.zip / DEVELOP.DOC < prev    next >
Text File  |  1993-10-30  |  5KB  |  106 lines

  1.  
  2.                                                   DEVELOP.DOC  Page 1 of 2
  3.  
  4.  
  5.      THE PC SPEAKER
  6.  
  7.      My Personal Computer is great when it comes to crunching numbers in a
  8.      Spreadsheet, writing letters, creating graphics or driving external
  9.      speakers with a sound card. What was that last one? External speakers?
  10.      Just a minute, I know I have an internal speaker. I hear the thing
  11.      'BEEP' at me when I play a game or when I make a mistake. Why can't I
  12.      use it for something useful? Sometimes I feel there is a long range
  13.      conspiracy. I have to buy something else every time I turn around.
  14.      More hard disk space, more RAM, several sizes and densities of floppy
  15.      disks and NOW a sound card with external speakers. I just ain't gonna
  16.      do it.
  17.  
  18.      The designers didn't make it easy to do and furthermore, it is hard to
  19.      find out what they did do when it comes to sound on the internal
  20.      PC speaker. I have bought and read more books on sound and found out
  21.      absolutely nothing when it comes to using the sound speaker I have.
  22.      I did buy one of Peter Norton's books that gave me a clue. So I
  23.      followed through on that. I experimented until it slowly came to me
  24.      that I could control this silly thing.
  25.  
  26.      The sound quality is not the greatest in the world, but it does sound
  27.      like what I wanted. And I already have it. I don't have to buy another
  28.      piece of hardware. So was born 'PC MUSIC MAKER'. Now that I have
  29.      created my own, I am sure I will find several others out there. I just
  30.      wasn't looking in the right place. Any way.....
  31.  
  32.      You CAN change the frequency of the sound your PC speaker. You CAN
  33.      change how long it will play and you CAN change how long it will be
  34.      silent. Therefore you can make music and sound effects. And if you
  35.      don't have one of those "others out there", You can use mine.
  36.  
  37.  
  38.      SOUND DRIVER PROGRAM
  39.  
  40.      This program is written in assembler language for use by software
  41.      developers. I searched high and low for some guidance on how to
  42.      provide sound for my programs. Each book I bought gave me a little
  43.      piece. Several books gave me programs to play their sounds, but,
  44.      none really explained the method. They kept all that good stuff
  45.      hidden. I include all the theory along with diagrams and annotated
  46.      routines that I have developed to help you make use of this great
  47.      enhancement for your programs.
  48.  
  49.  
  50.                                                   DEVELOP.DOC  Page 2 of 2
  51.  
  52.      I have three (3) levels of marketing for my SOUND DRIVER:
  53.  
  54.        1. ($7.95) The package I call PC MUSIC MAKER. You can type in
  55.           songs and/or sound effects. Then save, load, edit and play
  56.           them. it is great fun, but it doesn't help you to put them
  57.           into  your programs. However, I have included a small execution
  58.           module on this disk called PCREADY.EXE. To use this module:
  59.  
  60.   
  61.             A. Install PCMM on your hard disk in directory PCMM.
  62.  
  63.             B. Modify AUTOEXEC.BAT file to include the following:
  64.  
  65.                          CD\PCMM
  66.                          PCREADY
  67.  
  68.             C. When you turn on your system, you will be notified by
  69.                the AMBULANCE sound that your system is ready to go.
  70.  
  71.             D. Make a phone call while your system is 'booting'. When
  72.                you hear the PCREADY sound you can hang up.
  73.  
  74.        2. ($14.95) The SOUND DRIVER in object form that can be LINKED
  75.           to your program. There are two rountines in the SOUND DRIVER.
  76.  
  77.             A. PURGER strips all non-sound commands from the input
  78.                buffer and stores only the sound commands in SBuffer.
  79.  
  80.             B. SOUNDDVR is the routine that controls the PC speaker.
  81.                from commands in the SBuffer.
  82.   
  83.             C. Calling sequences will be provided with the package.
  84.  
  85.        3. ($29.95) The SOUND DRIVER in annotated assembler form that can
  86.           be modified, assembled and linked with any of your programs you
  87.           desire. You may NOT use it to market anything similar to my
  88.           product PC MUSIC MAKER.
  89.  
  90.           In PC MUSIC MAKER I put hooks in the SOUNDDVR to flash the
  91.           AMBULANCE light from blue to red. I also put hooks in PURGER
  92.           to strip the title from the input buffer and save it for display
  93.           while the tune was playing.
  94.  
  95.           You may also want to add sound commands. For instance, if you
  96.           want to make your PC 'TALK', the frequency change must be made
  97.           very quickly. This would require a change to the SPEAKER routine
  98.           of SOUNDDVR.
  99.  
  100.           I have made a small change to my personal SOUNDDVR to change the
  101.           frequency by a designated amount (Znnn). This way I can make a
  102.           siren sound or a train whistle with a doppler effect.
  103.  
  104.           The possibilities are endless once you know how the PC speaker
  105.           is controlled.
  106.